![]() |
CE Gobi SDK
2.14
GobiApi
|
Functions | |
| IMPORTGOBI ULONG GOBICMAPI | AudioGetProfile (BYTE *pGenerator, BYTE *pProfile, BYTE *pEarMute, BYTE *pMicMute, BYTE *pVolume) |
| IMPORTGOBI ULONG GOBICMAPI | AudioSetProfile (BYTE *pProfile, BYTE *pEarMute, BYTE *pMicMute, BYTE *pGenerator, BYTE *pVolume) |
| IMPORTGOBI ULONG GOBICMAPI | AudioGetPathByte (BYTE *pProfile, BYTE *pItem, BYTE *pValue) |
| IMPORTGOBI ULONG GOBICMAPI | AudioGetPathWord (BYTE *pProfile, BYTE *pItem, WORD *pValue) |
| IMPORTGOBI ULONG GOBICMAPI | AudioGetPathPCMFilter (BYTE *pProfile, BYTE *pItem, WORD *pPCMFilterFlag, WORD *pPCMFilterStageCount, DWORD *pPCMFilterStageValue, WORD *pPCMFilterStageSize) |
| IMPORTGOBI ULONG GOBICMAPI | AudioSetAudioPath (BYTE *pProfile, BYTE *pEchoCancel, BYTE *pNoiseSuppression, WORD *pTXVol, WORD *pSTGain, WORD *pTXPCMFilterFlag, WORD *pTXPCMFilterStageCount, DWORD *pTXPCMFilterStageValue, WORD *pTXPCMFilterStageSize, WORD *pRXPCMFilterFlag, WORD *pRXPCMFilterStageCount, DWORD *pRXPCMFilterStageValue, WORD *pRXPCMFilterStageSize, BYTE *pRXAvcAgcSwitch, BYTE *pTXAvcAgcSwitch) |
| IMPORTGOBI ULONG GOBICMAPI | AudioGetVolTLBConfig (BYTE *pProfile, BYTE *pGenerator, BYTE *pVolume, BYTE *pItem, WORD *pValue) |
| IMPORTGOBI ULONG GOBICMAPI | AudioSetVolTLBConfig (BYTE *pProfile, BYTE *pGenerator, BYTE *pVolume, BYTE *pItem, WORD *pInValue, WORD *pOutValue) |
| IMPORTGOBI ULONG GOBICMAPI | AudioPlayAudioTone (BYTE *pGenerator, BYTE *pTone, WORD *pDuration) |
| IMPORTGOBI ULONG GOBICMAPI AudioGetPathByte | ( | BYTE * | pProfile, |
| BYTE * | pItem, | ||
| BYTE * | pValue | ||
| ) |
The message requests to get the a setting of an audio path config item that is a Byte value. AUDIOI_CMD_VAL_GET_AUDIO_PATH_CONFIG_REQ 0x64
| pProfile | [I] Audio profile
|
| pItem | [I] Item to retrieve
|
| pValue | [O] Value of the item retrieved
|
| IMPORTGOBI ULONG GOBICMAPI AudioGetPathPCMFilter | ( | BYTE * | pProfile, |
| BYTE * | pItem, | ||
| WORD * | pPCMFilterFlag, | ||
| WORD * | pPCMFilterStageCount, | ||
| DWORD * | pPCMFilterStageValue, | ||
| WORD * | pPCMFilterStageSize | ||
| ) |
The message requests to get the a setting of an audio path config item that is a PCM filter. AUDIOI_CMD_VAL_GET_AUDIO_PATH_CONFIG_REQ 0x64
| pProfile | [I] Audio profile
|
| pItem | [I] Item to retrieve
|
| pPCMFilterFlag | [O] IRR filter flag
|
| pPCMFilterStageCount | [O] Number of IRR filter stage (0-4) |
| pPCMFilterStageValue | [O] Values of the stages (up to 4 stages) |
| pPCMFilterStageSize | [I] Size of pPCMFilterStageValue, must be 25 |
| IMPORTGOBI ULONG GOBICMAPI AudioGetPathWord | ( | BYTE * | pProfile, |
| BYTE * | pItem, | ||
| WORD * | pValue | ||
| ) |
The message requests to get the a setting of an audio path config item that is a Word value. AUDIOI_CMD_VAL_GET_AUDIO_PATH_CONFIG_REQ 0x64
| pProfile | [I] Audio profile
|
| pItem | [I] Item to retrieve
|
| pValue | [O] Value of the item retrieved
|
| IMPORTGOBI ULONG GOBICMAPI AudioGetProfile | ( | BYTE * | pGenerator, |
| BYTE * | pProfile, | ||
| BYTE * | pEarMute, | ||
| BYTE * | pMicMute, | ||
| BYTE * | pVolume | ||
| ) |
The message requests to get the profile content of the requested generator. AUDIOI_CMD_VAL_GET_AUDIO_PROFILE_REQ 0x60
| pGenerator | [I] Audio generator
|
| pProfile | [O] Audio profile
|
| pEarMute | [O] Ear mute setting
|
| pMicMute | [O] MIC mute setting
|
| pVolume | [O] Audio volume level (0-7) |
| IMPORTGOBI ULONG GOBICMAPI AudioGetVolTLBConfig | ( | BYTE * | pProfile, |
| BYTE * | pGenerator, | ||
| BYTE * | pVolume, | ||
| BYTE * | pItem, | ||
| WORD * | pValue | ||
| ) |
The message requests to get the volume value of a volume level of a requested item. AUDIOI_CMD_VAL_GET_AUDIO_VOl_TLB_CONFIG_REQ 0x66
| pProfile | [I] Audio profile
|
| pGenerator | [I] Audio generator
|
| pVolume | [I] Audio volume level (0-7) |
| pItem | [I] The item to be retrieved
|
| pValue | [O] Value of the item retrieved |
| IMPORTGOBI ULONG GOBICMAPI AudioPlayAudioTone | ( | BYTE * | pGenerator, |
| BYTE * | pTone, | ||
| WORD * | pDuration | ||
| ) |
This message requests device to play a audio tone. AUDIOI_CMD_VAL_PALY_AUDIO_TONE 0xF1
| pGenerator | [I] Audio generator
|
| pTone | [I] Tone value (0x00 – 0x57) |
| pDuration | [I] Duration of the tone |
| IMPORTGOBI ULONG GOBICMAPI AudioSetAudioPath | ( | BYTE * | pProfile, |
| BYTE * | pEchoCancel, | ||
| BYTE * | pNoiseSuppression, | ||
| WORD * | pTXVol, | ||
| WORD * | pSTGain, | ||
| WORD * | pTXPCMFilterFlag, | ||
| WORD * | pTXPCMFilterStageCount, | ||
| DWORD * | pTXPCMFilterStageValue, | ||
| WORD * | pTXPCMFilterStageSize, | ||
| WORD * | pRXPCMFilterFlag, | ||
| WORD * | pRXPCMFilterStageCount, | ||
| DWORD * | pRXPCMFilterStageValue, | ||
| WORD * | pRXPCMFilterStageSize, | ||
| BYTE * | pRXAvcAgcSwitch, | ||
| BYTE * | pTXAvcAgcSwitch | ||
| ) |
The message requests to set the audio path configuration parameters AUDIOI_CMD_VAL_SET_AUDIO_PATH_CONFIG_REQ 0x65
| pProfile | [I] Audio profile
|
| pEchoCancel | [I] AV_EC - Echo Cancellation Mode
|
| pNoiseSuppression | [I] AV_NS Noise Suppression
|
| pTXVol | [I] TX Voice Volume (0x0000 – 0xffff) |
| pSTGain | [I] CODEC ST gain (Sidetone Gain) (0x0000 – 0xffff) |
| pTXPCMFilterFlag | [I] TX IRR filter flag
|
| pTXPCMFilterStageCount | [I] Number of TX IRR filter stage (0-4) |
| pTXPCMFilterStageValue | [I] Values of the stages (up to 4 stages) |
| pTXPCMFilterStageSize | [I] Size of pTXPCMFilterStageValue, must be 25 |
| pRXPCMFilterFlag | [I] RX IRR filter flag
|
| pRXPCMFilterStageCount | [I] Number of RX IRR filter stage (0-4) |
| pRXPCMFilterStageValue | [I] Values of the stages (up to 4 stages) |
| pRXPCMFilterStageSize | [I] Size of pRXPCMFilterStageValue, must be 25 |
| pRXAvcAgcSwitch | [I] RX AVC/AGC switch |
| pTXAvcAgcSwitch | [I] TX AVC/AGC switch |
| IMPORTGOBI ULONG GOBICMAPI AudioSetProfile | ( | BYTE * | pProfile, |
| BYTE * | pEarMute, | ||
| BYTE * | pMicMute, | ||
| BYTE * | pGenerator, | ||
| BYTE * | pVolume | ||
| ) |
The message requests to set set audio profile. AUDIOI_CMD_VAL_SET_AUDIO_PROFILE 0x61
| pProfile | [I] Audio profile
|
| pEarMute | [I] Ear mute setting
|
| pMicMute | [I] MIC mute setting
|
| pGenerator | [I] Audio generator
|
| pVolume | [I] Audio volume level (0-7) |
| IMPORTGOBI ULONG GOBICMAPI AudioSetVolTLBConfig | ( | BYTE * | pProfile, |
| BYTE * | pGenerator, | ||
| BYTE * | pVolume, | ||
| BYTE * | pItem, | ||
| WORD * | pInValue, | ||
| WORD * | pOutValue | ||
| ) |
The message requests to get the volume value of a volume level of a requested item. AUDIOI_CMD_VAL_SET_AUDIO_VOl_TLB_CONFIG_REQ 0x67
| pProfile | [I] Audio profile
|
| pGenerator | [I] Audio generator
|
| pVolume | [I] Audio volume level (0-7) |
| pItem | [I] The item to be retrieved
|
| pInValue | [I] Value of the item |
| pOutValue | [O] Result of the item |